wayland: Fix a GSettingsSchema leak
authorTimm Bäder <mail@baedert.org>
Sat, 29 Aug 2020 09:38:07 +0000 (11:38 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 29 Aug 2020 14:46:28 +0000 (16:46 +0200)
gdk/wayland/gdkdisplay-wayland.c

index 9be0bacfadc6d3269773c12f2873059f9abbe165..d5a97a40106572fa3038bea01e54430930664197 100644 (file)
@@ -1557,6 +1557,9 @@ update_xft_settings (GdkDisplay *display)
           order = GSD_FONT_RGBA_ORDER_RGB;
         }
 
+      if (schema)
+        g_settings_schema_unref (schema);
+
       dpi = get_dpi_from_gsettings (display_wayland) * 1024;
     }